package com.inool.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.inool.model.Attendance;

import java.util.List;

public interface AttendanceService extends IService<Attendance> {
    Attendance addAttendance(Attendance attendance);
    Attendance updateAttendance(Long id, Attendance attendance);
    void deleteAttendance(Long id);
    Attendance getAttendanceById(Long id);
    List<Attendance> getAllAttendances();
    List<Attendance> getAttendancesByStudentId(String studentId);
    List<Attendance> getAttendancesByCourseId(String courseId);
}    